package com.he.domain.dto;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotBlank;

/**
 * @author He
 * @version 1.0
 * @Date 2023/10/8 15:32
 * @Desc
 */
@Data
@Schema(description = "标签DTO")
public class TagDTO {

    /**
     * 标签id
     */
    @Schema(description = "标签id")
    private Integer id;

    /**
     * 标签名
     */
    @NotBlank(message = "标签名不能为空")
    @Schema(description = "标签名")
    private String tagName;

}
